﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Web.Master" AutoEventWireup="true" CodeBehind="UpSPwd.aspx.cs" Inherits="WebApp.UpPwd" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">

        .auto-style20 {
            width: 109px;
        }
        .auto-style24 {
            width: 64px;
        }
        .auto-style18 {
            height: 41px;
            width: 109px;
        }
        .auto-style22 {
            height: 41px;
            width: 64px;
        }
        .auto-style22 {
            width: 139px;
        }
        .auto-style24 {
            width: 139px;
            height: 45px;
        }
        .auto-style26 {
        height: 41px;
        width: 292px;
    }
    .auto-style21 {
        width: 237px;
    }
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

        当前所在位置：<asp:SiteMapPath ID="SiteMapPath1" runat="server">
        </asp:SiteMapPath>
        <br />
    <p style="text-align:center; font-family: 华文行楷; font-size: 35px; color: #000000;">&nbsp;修改个人密码</p>
     <br />

   
    
             <table class="auto-style1" style="margin:auto; font-size: large; height: 238px; width: 429px;">
                 <tr>
                     <td style="text-align:right" class="auto-style20">
                         <asp:Label ID="lblSName" runat="server" Text="用户名：" Font-Bold="True" ForeColor="Black"></asp:Label>
                     </td>
                     <td class="auto-style24">
                         <asp:TextBox ID="txtSNa" runat="server" Height="20px" Width="150px"></asp:TextBox>
                     </td>
                     <td>

                         

                         <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtSNa" ErrorMessage="RequiredFieldValidator">用户名不能为空！</asp:RequiredFieldValidator>

                         

                     </td>
                 </tr>
                 <tr>
                     <td style="text-align:right" class="auto-style20">
                         <asp:Label ID="lblSPwd" runat="server" Font-Bold="True" Text="原密码："></asp:Label>
                     </td>
                     <td class="auto-style24">
                         <asp:TextBox ID="txtSPwd" runat="server" Height="20px" Width="150px" TextMode="Password"></asp:TextBox>
                     </td>
                     <td>

                         

                         <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtSPwd" ErrorMessage="RequiredFieldValidator">密码不可以为空！</asp:RequiredFieldValidator>
                     </td>
                 </tr>
                 <tr>
                     <td style="text-align:right" class="auto-style18">
                         <asp:Label ID="lblSPwd1" runat="server" Text="新密码：" Font-Bold="True" ForeColor="Black"></asp:Label>
                     </td>
                     <td class="auto-style22">
                         <asp:TextBox ID="txtSPwd1" runat="server" Height="20px" TextMode="Password" Width="150px"></asp:TextBox>
                     </td>
                     <td>

                         <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="RequiredFieldValidator" ControlToValidate="txtSPwd1">新密码不能为空！</asp:RequiredFieldValidator>

                     </td>
                     
                 </tr>
                 <tr>
                     <td style="text-align:right" class="auto-style20">
                         <asp:Label ID="lblSPwd2" runat="server" Text="重复密码：" Font-Bold="True" ForeColor="Black"></asp:Label>
                     </td>
                     <td class="auto-style24">
                         <asp:TextBox ID="txtSPwd2" runat="server" Height="20px" ToolTip="两次密码必须一致" TextMode="Password" Width="150px"></asp:TextBox>
                     </td>
                     <td>

                         <asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="CompareValidator" ControlToCompare="txtSPwd1" ControlToValidate="txtSPwd2">密码不同！</asp:CompareValidator>

                     </td>
                 </tr>
                 <tr style="text-align:right">
                     <td class="auto-style19" colspan="2" >
                         <asp:Button ID="btnYes" runat="server" Text="提交" OnClick="btnYes_Click" Height="25px" Width="45px" />
                     &nbsp;&nbsp;&nbsp;&nbsp;
                         <asp:Button ID="btnNew" runat="server" Text="重置" OnClick="btnNew_Click" Height="25px" Width="45px" />
                     </td>
                 </tr>
             </table>
    <br />

            
           
           
           
             &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Label ID="Label3" runat="server"></asp:Label>

            
           
           
           
             </asp:Content>
<asp:Content ID="Content3" runat="server" contentplaceholderid="ContentPlaceHolder5">
        
</asp:Content>

<asp:Content ID="Content4" runat="server" contentplaceholderid="ContentPlaceHolder4">
    <asp:TreeView ID="TreeView1" runat="server" Font-Bold="False" Font-Italic="False" Font-Size="Large" Height="118px" ImageSet="News" style="margin-left: 31px" Width="170px">
        <HoverNodeStyle Font-Underline="True" />
        <Nodes>
            <asp:TreeNode Text="学生信息管理" Value="个人信息管理">
                <asp:TreeNode Text="个人基本信息" Value="查看个人信息" NavigateUrl="~/default.aspx"></asp:TreeNode>
                <asp:TreeNode NavigateUrl="~/UpPwd.aspx" Text="修改个人密码" Value="修改个人密码"></asp:TreeNode>
            </asp:TreeNode>
        </Nodes>
        <NodeStyle Font-Names="Arial" Font-Size="10pt" ForeColor="Black" HorizontalPadding="5px" NodeSpacing="0px" VerticalPadding="0px" />
        <ParentNodeStyle Font-Bold="False" />
        <SelectedNodeStyle Font-Underline="True" HorizontalPadding="0px" VerticalPadding="0px" />
    </asp:TreeView>
    <br />
    <br />
   
    <br />
</asp:Content>


<asp:Content ID="Content5" runat="server" contentplaceholderid="ContentPlaceHolder2">
     <table class="auto-style21">
    <tr>
        <td style="text-align: right" class="auto-style26">
<asp:Label ID="lblSkin" runat="server" Font-Bold="True" ForeColor="White" Text="换肤：" style="text-align: center"></asp:Label>
            <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged">
    <asp:ListItem>white</asp:ListItem>
                <asp:ListItem>blue</asp:ListItem>
    <asp:ListItem>gray</asp:ListItem>
    <asp:ListItem>green</asp:ListItem>
</asp:DropDownList>
        &nbsp;<asp:Button ID="Button1" runat="server" Text="确定" />
        </td>
    </tr>
</table>
</asp:Content>



